#ifndef __XrdDMSimSiteInfo_H__
#define __XrdDMSimSiteInfo_H__
#include <iostream>
using namespace std;

class XrdDMSimSiteInfo
{
  public:
    XrdDMSimSiteInfo();
    ~XrdDMSimSiteInfo();

    void    Print();

    string  GetName() { return fName; };
    void    SetName(const string &s) { fName = s; }
    string  GetPort() { return fPort; }
    void    SetPort(string port) { fPort = port;}
    void    SetSiteInfo(int minSpeed, int maxSpeed, int percentFailure);
    int     GetSpeedMin() {return fSpeedMin;}
    int     GetSpeedMax() {return fSpeedMax;}
    int     GetFailure() {return fFailure;}
    
    bool    IsOk() { return !fName.empty();};
    
  private:
    string  fName;
    string  fPort;
    int     fSpeedMin;
    int     fSpeedMax;
    int     fFailure;
    
};

#endif // __XrdDMSimSiteInfo_H__
